Memory Device Structure
You specify a memory device using a memory device structure, defined by theTQADeviceMemory
data type.
typedef struct TQADeviceMemory { long rowBytes; TQAImagePixelType pixelType; long width; long height; void *baseAddr; } TQADeviceMemory;
Field Description
rowBytes
- The distance, in bytes, from the beginning of one row of the memory device to the beginning of the next row of the memory device.
pixelType
- A value that specifies the size and organization of the memory associated with a pixel in the pixmap. See "Pixel Types" (page 1-35) for information on the values you can assign to this field.
width
- The width, in pixels, of the memory device.
height
- The height, in pixels, of the memory device.
baseAddr
- A pointer to the beginning of the memory device.
Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help